#include <map>
#include <string>
#ifndef __HTTP_HPP__
#define __HTTP_HPP__
namespace http {
  void run(const int socket, const std::map<std::string, std::string>& env);
  const char* get_status(const int code);
};
#ifndef CONST_DEFINED
extern const char HTTP_V[];
extern const char CRLF[];
extern const char CRLFCRLF[];
extern const char S101[];
extern const char S200[];
extern const char S304[];
extern const char S400[];
extern const char S403[];
extern const char S404[];
extern const char S406[];
extern const char S412[];
extern const char S417[];
extern const char S500[];
extern const char S501[];
#endif
#endif
